package com.gxsf.wechatbook.controller;

import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author BeijiRonin
 * @version 1.0.0
 * @date 2021/1/21 22:23
 */
@RestController
@RequestMapping("/")
@CrossOrigin
@Api(tags = "测试可访问性接口")
public class TestController {
    @GetMapping("/test" )
    public String test() {
        return "<H1>Hello World !</H1>";
    }
}
